<?php
/**
 * app 下应用 demon 模型层
 *
 * @copyright	http://www.easymvc.com
 * @author 		光哥  <439884988@qq.com>
 * @version		1.0 - 2012-03-26
 * @package		Model
 *
 */
if(!defined('EASYMVC')) {
	exit('Access Denied');
}
class Demo_M_Demo extends Lib_Model {
	
	public static function getInstance(){
		static $obj;
		if(!$obj) $obj = new self();
		return $obj;
	}
	
	public function get(){
		return "hi，欢迎使用easymvc！";
	}
	
}
?>